<nav class="navbar navbar-inverse navbar-static-top">
                <div class="container">
                     <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="<{:U('Adduser/index')}>"><{:C('CMP_NAME')}></a>
                    </div>
                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="<{:U('Adduser/add')}>">添加用户 <span class="sr-only">(current)</span></a></li>
                            <li><a href="<{:U('Adduser/index')}>">查看用户 <span class="sr-only">(current)</span></a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                          <p class="navbar-text"><var>欢迎您</var>　[ <{$Think.session.admin.uname}> ]</p>
                          <li><a href="<{:U('Public/logout')}>">退出登录</a></li>
                        </ul>
                    </div><!-- /.navbar-collapse -->
                </div>
            </nav>